<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/component/pear/css/pear.css"/>
    <style>
        label.required:after { /* 给红色的必填项打红色星号（文字后）如果打前面用before*/
            content: ' *';
            color: red;
        }

        .layui-form-label {
            width: 135px;
            padding: 0px;
            text-align: left;
            height: 45px;
            line-height: 45px;
            font-size: 15px;
        }

        .layui-input-block {
            margin-left: 140px;
        }

        .layui-input {
            height: 45px;
            font-size: 15px;
        }

        .bottom {
            line-height: 0px;
            display: flex;
            flex-direction: row;
            align-items: center;
        }

        .button-container {
            position: absolute;
            right: 20px;
        }

        .pear-btn {
            border-radius: 4px;
            font-size: 18px;
        }

        .dtree-select {
            width: 99.5%;
            top: 46px
        }

        .pear-btn i {
            font-size: 15px;
        }

        .layui-form-selected dl {
            position: absolute;
            left: 0;
            top: 46px;
            max-height: 150px;
        }

        .layui-input[disabled] {
            color: black !important;
        }

        .layui-radio-disabled > i {
            color: #c2c2c2 !important;
        }
        .layui-radio-disabled > * {
            color: #070707 !important;
        }
    </style>
</head>
<body>
<form class="layui-form" action="">
    <div class="mainBox">
        <div class="main-container">
            <div class="main-container">
                <div class="layui-form-item">
                    <label class="layui-form-label required">部门名</label>
                    <div class="layui-input-block">
                        <input type="text" name="deptName" th:value="${dept_name}" lay-verify="deptName"
                               autocomplete="off" disabled
                               class="layui-input layui-disabled">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label required">排序</label>
                    <div class="layui-input-block">
                        <input type="text" name="sort" lay-verify="sort" th:value="${sort}" autocomplete="off"
                               disabled class="layui-input layui-disabled">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label required">部门状态</label>
                    <div class="layui-input-block">
                        <input type="radio" name="status" th:checked="${status == true}? 'true':'false'" value="1"
                               title="正常" disabled>
                        <input type="radio" name="status" th:checked="${status == false}? 'true':'false'" value="0"
                               title="停用" disabled>
                    </div>
                </div>
<!--                <div class="layui-form-item">-->
<!--                    <label class="layui-form-label required">部门负责人</label>-->
<!--                    <div class="layui-input-block">-->
<!--                        <input type="text" name="sort" lay-verify="sort" th:value="${department_head_user_name}" autocomplete="off"-->
<!--                               disabled class="layui-input layui-disabled">-->
<!--                    </div>-->
<!--                </div>-->
                <div class="layui-form-item">
                    <label class="layui-form-label">上级部门</label>
                    <div class="layui-input-block">
                        <input type="text" name="sort" lay-verify="sort" th:value="${parentDeptName}" autocomplete="off"
                               disabled class="layui-input layui-disabled">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label required">部门创建时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="sort" lay-verify="sort" th:value="${create_time}" autocomplete="off"
                               disabled class="layui-input layui-disabled">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label required">部门最近修改时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="sort" lay-verify="sort" th:value="${update_time}" autocomplete="off"
                               disabled class="layui-input layui-disabled">
                    </div>
                </div>

            </div>
        </div>
    </div>
</form>
<script src="/component/layui/layui.js"></script>
<script src="/component/pear/pear.js"></script>
<script>
</script>
</body>
</html>